color-swatch: remove gtk_color_swatch_set_corner_radii()
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 8 Feb 2012 23:08:52 +0000 (18:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 14 Feb 2012 21:36:58 +0000 (16:36 -0500)
It's unused now.

gtk/gtkcolorswatch.c
gtk/gtkcolorswatch.h

index 3c82ba981f10047bfdeb68cb5ae158c13348ba03..fd5f6a8b234f93f10c522d49789bf869cef63f80 100644 (file)
@@ -691,21 +691,6 @@ gtk_color_swatch_get_rgba (GtkColorSwatch *swatch,
     }
 }
 
-void
-gtk_color_swatch_set_corner_radii (GtkColorSwatch *swatch,
-                                   gdouble         top_left,
-                                   gdouble         top_right,
-                                   gdouble         bottom_right,
-                                   gdouble         bottom_left)
-{
-  swatch->priv->radius[0] = top_left;
-  swatch->priv->radius[1] = top_right;
-  swatch->priv->radius[2] = bottom_right;
-  swatch->priv->radius[3] = bottom_left;
-
-  gtk_widget_queue_draw (GTK_WIDGET (swatch));
-}
-
 void
 gtk_color_swatch_set_selected (GtkColorSwatch *swatch,
                                gboolean        selected)
index 77e45eadd6240d55fdb4416d98731d805eef2fc3..71bcd1ada81043df7e8c2702ed68ceef24fccee3 100644 (file)
@@ -68,12 +68,7 @@ GType       gtk_color_swatch_get_type         (void) G_GNUC_CONST;
 
 G_GNUC_INTERNAL
 GtkWidget * gtk_color_swatch_new              (void);
-G_GNUC_INTERNAL
-void        gtk_color_swatch_set_corner_radii (GtkColorSwatch *swatch,
-                                               gdouble         top_left,
-                                               gdouble         top_right,
-                                               gdouble         bottom_right,
-                                               gdouble         bottom_left);
+
 G_GNUC_INTERNAL
 void        gtk_color_swatch_set_rgba         (GtkColorSwatch *swatch,
                                                const GdkRGBA  *color);